<script setup lang="ts">
    defineProps(['title'])
</script>
<template>
    <div class="outer">
        {{ title }}
        <!-- 插槽的出口 -->
        <slot name="s1"></slot>
        <slot name="s2"></slot>
    </div>
</template>
<style>
    .outer{
        border: 1px solid red;
        width: 250px;
        height: 350px;
        margin: 20px auto;
    }
</style>